Spoj Id: 54 | Julka | Solution Using Python